export default [
  {
    path: '/login',
    component: './Login',
    layout: false,
    name: "登录"
  },
  {
    path: '/',
    component: '@/layout/index',
    routes: [
      {
        path: '/',
        redirect: '/Login',
      },
      {
        path: '/workSpace',
        component: '@/pages/WorkSpace',
        name: "工作空间",
        icon: null,
      },
  //     {
  //       path: '/workSpacePreview',
  //       component: './workSpacePreview',
  //       name: "工作空间-预览页面",
  //       icon: null,
  //     },
      {
        path: '/user',
        component: '@/layoutContent',
        id: "55",
        name: "个人中心",
        routes: [
          {
            path: '/user',
            redirect: '/user/personal',
          },
          {
            path: '/user/personal',
            component: './user',
            name: "个人中心",
            icon: "iconfont-colour icon-yonghuguanli",
            id: "56"
          },
          {
            path: '/user/secret-key',
            component: './SecretKey',
            name: "访问密钥",
            icon: "iconfont-colour icon-yonghuguanli",
            id: "57"
          },
        ]
      },
      {
        path: '/managerial',
        component: '@/layoutContent',
        name: "管理中心",
        icon: null,
        id: "52",
        routes: [
          {
            path: '/managerial/q/account',
            component: './Managerial/Account',
            name: "用户管理",
            icon: "iconfont-colour icon-yonghuguanli",
            id: "53"
          },
          {
            path: '/managerial/q/role',
            component: './Managerial/Role',
            name: "角色管理",
            icon: "iconfont-colour icon-yonghuguanli",
            id: "54",
          },
          // {
          //   path: '/managerial/logmanagement',
          //   name: '日志审计',
          //   component: './Managerial/LogManagement',
          //   id: "91",
          //   icon: 'iconfont-colour icon-quanxianguanli',
          // },
        ],
      },
      {
        path: '/standard-design',
        component: '@/layoutContent',
        name: "规范设计",
        id: "1",
        show: true,
        routes: [
          {
            path: '/standard-design/dataSurvey',
            name: "数据调研",
            id: "2",
            icon: "iconfont-colour icon-shujutiaoyan",
            routes: [
              // {
              //   path: '/standard-design/dataSurvey/dataOwner',
              //   component: './StandardDesign/DataOwner',
              //   name: "数据Owner",
              //   id: "22",
              // },
              {
                path: '/standard-design/dataSurvey/dataManager',
                component: './StandardDesign/DataManager',
                name: "数据管理",
                id: "3",
              },
              {
                path: '/standard-design/dataSurvey/themeDesign',
                component: './StandardDesign/ThemeDesign',
                name: "主题设计",
                id: "4",
              },
              {
                path: '/standard-design/dataSurvey',
                redirect: '/standard-design/dataSurvey/dataManager',
              },
            ]
          },
          {
            path: '/standard-design/benchmark',
            name: "标准设计",
            id: "5",
            icon: "iconfont-colour icon-biaozhunsheji",
            routes: [
              {
                path: '/standard-design/benchmark/standard-define',
                component: './StandardDesign/StandardDefine',
                name: "标准定义",
                id: "6",
              },
              {
                path: '/standard-design/benchmark/standard-map',
                component: './StandardDesign/StandardMap',
                name: "标准映射",
                id: "7",
              },
              {
                path: '/standard-design/benchmark',
                redirect: '/standard-design/benchmark/standard-define',
              },
            ]
          },
          {
            path: '/standard-design/modelDesign',
            name: "模型设计",
            id: "8",
            icon: "iconfont-colour icon-moxingsheji",
            routes: [
              {
                path: '/standard-design/modelDesign/PasteSourceModel',
                component: './StandardDesign/ModelDesign/PasteSourceModel',
                name: "贴源模型",
                id: "9",
              },
              {
                path: '/standard-design/modelDesign/CommonModel',
                component: './StandardDesign/ModelDesign/CommonModel',
                name: "公共模型",
                id: "10",
              },
              {
                path: '/standard-design/modelDesign/ApplicationModel',
                component: './StandardDesign/ModelDesign/ApplicationModel',
                name: "应用模型",
                id: "11",
              },
              {
                path: '/standard-design/modelDesign/OtherModel',
                component: './StandardDesign/ModelDesign/OtherModel',
                name: "其他模型",
                id: "12",
              },
              {
                path: '/standard-design/modelDesign',
                redirect: '/standard-design/modelDesign/matrix',
              },
            ]
          },
          {
            path: '/standard-design/index-design',
            name: "指标设计",
            id: "13",
            icon: "iconfont-colour icon-zhibiaosheji",
            routes: [
              {
                path: '/standard-design/index-design/index-define',
                component: './StandardDesign/IndexDesign',
                name: "指标定义",
                id: "14",
              },
              {
                path: '/standard-design/index-design',
                redirect: '/standard-design/index-design/index-define',
              },
            ]
          },
          {
            path: '/standard-design',
            redirect: '/standard-design/dataSurvey',
          },
        ],
      },
      {
        path: '/dataIntegrate',
        component: '@/layoutContent',
        name: "数据集成",
        id: "15",
        show: true,
        routes: [
          {
            path: '/dataIntegrate/offline',
            // component: '/src/pages/DataIntegrate/Offline',
            name: "离线同步",
            icon: "iconfont-colour icon-lixiankaifa",
            id: "16",
            routes: [
              {
                path: '/dataIntegrate/offline/manager',
                component: './DataIntegrate/Offline',
                name: "任务管理",
                id: "17",
              },
              {
                path: '/dataIntegrate/offline/operation',
                component: './DataIntegrate/Operation',
                name: "任务运维",
                id: "18",
              }]
          },
          {
            path: '/dataIntegrate/offline-create',
            component: './DataIntegrate/OfflineCreate',
            name: "创建离线同步",
          },
          {
            path: '/dataIntegrate/offline-history',
            component: './DataIntegrate/OfflineHistory',
            name: "离线同步历史任务",
          },
          {
            path: '/dataIntegrate/offline-detail',
            component: './DataIntegrate/OfflineDetail',
            name: "查看任务",
          },
          {
            path: '/dataIntegrate/sersync',
            component: './DataIntegrate/Sersync',
            name: "实时同步",
            icon: "iconfont-colour icon-shishikaifa",
            id: "19",
          },
          {
            path: '/dataIntegrate/sersync-create',
            component: './DataIntegrate/SersyncCreate',
            name: "创建实时同步",
          },
          {
            path: '/dataIntegrate/sersync-detail',
            component: './DataIntegrate/SersyncDetail',
            name: "实时同步详情",
          },
          {
            path: '/dataIntegrate/filesGather',
            name: "文件采集",
            component: './DataIntegrate/FilesGather',
            id: "20",
            icon: "iconfont-colour2 icon-wenjiancaiji",
          },
          {
            path: '/dataIntegrate/apiGather',
            name: "接口采集",
            id: "21",
            icon: "iconfont-colour icon-jiekoucaiji",
            routes: [
              {
                path: '/dataIntegrate/apiGather/http',
                component: './DataIntegrate/ApiGather/HttpsApi',
                name: "Http/Https",
                id: "22",
              },
              {
                path: '/dataIntegrate/apiGather/http-create',
                component: './DataIntegrate/ApiGather/HttpsApiCreate',
                name: "创建Http/Https",
              },
              {
                path: '/dataIntegrate/apiGather/webService',
                component: './DataIntegrate/ApiGather/WebServiceApi',
                name: "WebService",
                id: "23",
              },
              {
                path: '/dataIntegrate/apiGather/webService-create',
                component: './DataIntegrate/ApiGather/WebServiceApiCreate',
                name: "创建WebService",
              },
              {
                path: '/dataIntegrate/apiGather/view-history',
                component: './DataIntegrate/ApiGather/ViewHistory',
                name: "历史任务",
              },
              // {
              //   path: '/dataIntegrate/apiGather/YiDa',
              //   component: './DataIntegrate/ApiGather/HttpsApi',
              //   name: "宜搭",
              //   id: "620cb5ac21e75872b0746f50",
              // },
              // {
              //   path: '/dataIntegrate/apiGather/DingDing',
              //   component: './DataIntegrate/ApiGather/HttpsApi',
              //   name: "钉钉",
              //   id: "620cb5ac21e75872b0746f51",
              // },
              {
                path: '/dataIntegrate/apiGather',
                redirect: '/dataIntegrate/apiGather/http',
              },
            ]
          },
          {
            path: '/dataIntegrate',
            redirect: '/dataIntegrate/offline/manager',
          },
        ],
      },
      {
        path: '/data-development',
        component: '@/layoutContent',
        name: "数据开发",
        id: "24",
        show: true,
        routes: [
          {
            path: '/data-development/offline',
            name: "离线计算",
            id: '25',
            icon: "iconfont-colour icon-lixiankaifa",
            routes: [
              {
                path: '/data-development/offline/script-development',
                component: './DataDevelopment/Offline/ScriptDev',
                name: "作业开发",
                id: "26",
              },
              {
                path: '/data-development/offline/workflow-development',
                component: './DataDevelopment/Offline/FlowDev',
                name: "工作流程",
                id: "27",
              },
              {
                path: '/data-development/offline/resource-management',
                component: './DataDevelopment/Offline/Resource',
                name: "资源管理",
                id: "28",
              },
              {
                path: '/data-development/offline/function-management',
                component: './DataDevelopment/Offline/Function',
                name: "函数管理",
                id: "29",
              },
              {
                path: '/data-development/offline/task-operation',
                component: './DataDevelopment/Offline/Operation',
                name: "任务运维",
                id: "30",
              },
              {
                path: '/data-development/offline/operation-detail',
                component: './DataDevelopment/Offline/OperationDetail',
                name: "查看详情",
              },
              {
                path: '/data-development/offline/operation-history',
                component: './DataDevelopment/Offline/OperationHistory',
                name: "历史任务",
              },
              {
                path: '/data-development/offline',
                redirect: '/data-development/offline/script-development',
              },
            ]
          },
          {
            path: '/data-development/realTime',
            name: "实时计算",
            id: '31',
            icon: "iconfont-colour icon-shishikaifa",
            routes: [
              {
                path: '/data-development/realTime/realTime-development',
                component: './DataDevelopment/RealTime/ScriptDev',
                name: "实时开发",
                id: "32",
              },
              {
                path: '/data-development/realTime/resource-management',
                component: './DataDevelopment/RealTime/Resource',
                name: "资源管理",
                id: "33",
              },
              {
                path: '/data-development/realTime/function-management',
                component: './DataDevelopment/RealTime/Function',
                name: "函数管理",
                id: "34",
              },
              {
                path: '/data-development/realTime/task-operation',
                component: './DataDevelopment/RealTime/Operation',
                name: "任务运维",
                id: "35",
              },
              {
                path: '/data-development/realTime/operation-detail',
                component: './DataDevelopment/RealTime/OperationDetail',
                name: "查看详情",
              },
              {
                path: '/data-development/realTime',
                redirect: '/data-development/realTime/realTime-development',
              },
            ]
          },
          {
            path: '/data-development',
            redirect: '/data-development/offline',
          },
        ]
      },
      {
        path: '/index-management',
        component: '@/layoutContent',
        name: "指标管理",
        id: "36",
        show: true,
        routes: [
          {
            path: '/index-management',
            name: "指标管理",
            id: '622ede1e67462e5e38714777',
            component: './IndexManagement',
          },
        ],
      },
      {
        path: '/dataQuality',
        component: '@/layoutContent',
        name: "数据质量",
        id: "37",
        show: true,
        routes: [
          {
            path: '/dataQuality/qualityOverview',
            component: './DataQuality/QualityOverview',
            name: "概览",
            icon: "iconfont-colour icon-gailan",
            id: "38",
          },
          {
            path: '/dataQuality/ruleConfig',
            component: './DataQuality/RuleConfig',
            name: "监控规则",
            icon: "iconfont-colour2 icon-jiankongguize",
            id: "39",
          },
          {
            path: '/dataQuality/ruleConfigSee',
            component: './DataQuality/RuleConfigSee',
            name: "配置监控规则",
          },
          {
            path: '/dataQuality/taskManagement',
            component: './DataQuality/TaskManagement',
            name: "任务管理",
            icon: "iconfont-colour2 icon-renwuguanli",
            id: "40",
          },
          {
            path: '/dataQuality/taskDetail',
            component: './DataQuality/TaskDetail',
            name: "任务详情",
          },
          {
            path: '/dataQuality/taskResults',
            component: './DataQuality/TaskResults',
            name: "任务结果",
          },
          {
            path: '/dataQuality',
            redirect: '/dataQuality/qualityOverview',
          },
        ]
      },
      {
        path: '/data-service',
        component: '@/layoutContent',
        name: "数据服务",
        id: "41",
        show: true,
        routes: [
          {
            path: '/data-service/general-view',
            component: './DataService/GeneralView',
            name: "概览",
            id: '42',
            icon: "iconfont-colour icon-quanxianguanli",
          },
          {
            path: '/data-service/api-market',
            component: './DataService/ApiMarket',
            name: "API市场",
            id: '43',
            icon: "iconfont-colour2 icon-APIshichang",
          },
          {
            path: '/data-service/api-manage',
            name: "API管理",
            id: '44',
            icon: "iconfont-colour2 icon-APIguanli",
            routes: [
              {
                path: '/data-service/api-manage/my-api',
                component: './DataService/MyApi',
                name: "我的API",
                id: "45",
              },
              {
                path: '/data-service/api-manage/my-apply',
                component: './DataService/MyApply',
                name: "我的申请",
                id: "46",
              },
              {
                path: '/data-service/api-manage/produce-api-create',
                component: './DataService/ProduceApiCreate',
                name: "生产API",
              },
              {
                path: '/data-service/api-manage/produce-api-detail',
                component: './DataService/ProduceApiDetail',
                name: "生产API详情",
              },
              {
                path: '/data-service/api-manage/register-api-create',
                component: './DataService/RegisterApiCreate',
                name: "注册API",
              },
              {
                path: '/data-service/api-manage/register-api-detail',
                component: './DataService/RegisterApiDetail',
                name: "注册API详情",
              },
              {
                path: '/data-service/api-manage/index-api-create',
                component: './DataService/IndexApiCreate',
                name: "指标API",
              },
              {
                path: '/data-service/api-manage/index-api-detail',
                component: './DataService/IndexApiDetail',
                name: "指标API详情",
              },
              {
                path: '/data-service/api-manage',
                redirect: '/data-service/api-manage/my-api',
              },
            ]
          },
          {
            path: '/data-service/api-call',
            component: './DataService/ApiCall',
            name: "API调用",
            id: '47',
            icon: "iconfont-colour2 icon-tiaoyong",
          },
          {
            path: '/data-service/auth-approval',
            component: './DataService/AuthApproval',
            name: "授权审批",
            id: '58',
            icon: "iconfont-colour2 icon-shouquanshenpi",
          },
          {
            path: '/data-service/safety-management',
            component: './DataService/SafetyManagement',
            name: "安全管理",
            id: '59',
            icon: "iconfont-colour2 icon-anquanguanli",
          },
          {
            path: '/data-service/safety-management-edit',
            component: './DataService/SafetyManagementEdit',
            name: "编辑授权",
          },
          {
            path: '/data-service',
            redirect: '/data-service/general-view',
          },
        ]
      },
      {
        path: '/space-setting',
        component: '@/layoutContent',
        name: "空间管理",
        id: '48',
        show: true,
        routes: [
          {
            path: '/space-setting/member',
            component: './SpaceSetting/Member',
            name: "成员管理",
            id: '49',
          },
          {
            path: '/space-setting/role',
            component: './SpaceSetting/Role',
            name: "角色管理",
            id: '50',
          },
        ]
      },
  //     {
  //       path: '/consanguinity',
  //       component: './Consanguinity',
  //     },
  //     {
  //       path: '/quality',
  //       component: './Quality',
  //     },
  //     {
  //       path: '/quality-configuration',
  //       component: './Quality/ruleConfiguration.jsx',
  //     },
  //     {
  //       path: '/quality-configuration-see',
  //       component: './Quality/RuleConfigSee',
  //     },
    ]
  },
]
